* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  line-height: 1;
}
li {
  list-style: none;
}


header {
  width: 1102px;
  height: 100px;
  margin: 0 auto;
}

h1 {
  width: 205px;
  height: 50px;
  background: url("../images/img/01-header/codingke-icon.png");
  margin-top: 26px;
  float: left;
  text-indent: -9999px;
}

header .header-search {
  width: 294px;
  height: 48px;
  border: 1px solid #e2e2e2;
  float: right;
  margin-top: 26px;
}

.search-left {
  width: 243px;
  height: 100%;
  float: left;
}

.search-left input {
  border: 0;
  /* 去除input获得焦点时的黑框 */
  outline: none;
  /* font-size: 20px; */
  
  margin-left: 15px;
  height: 100%;
  width: 200px;
}

.search-right {
  width: 49px;
  height: 100%;
  float: left;

  border-left: 1px solid #e2e2e2;

  /* 图片需要居中的话，是和文字一样的操作 */
  text-align: center;
  line-height: 48px;

  /* 当鼠标移入时变成手指 */
  cursor: pointer;
}
/* .search-right img { */
  /* margin: 0 auto; */
  /* text-align: center; */
/* } */



/* 导航部分 */
nav {
  width: 100%;
  height: 60px;
  background-color: #2f2f2f;
}
nav ul {
  width: 1102px;
  height: 60px;
  margin: 0 auto;
}
nav ul li {
  /* width: 11.11%; */
  height: 100%;
  float: left;
  /* text-align: center; */
  line-height: 60px;
  color: #fff;
  border-right: 1px solid #4b4b4b;
  padding: 0 20px;
}

nav ul li:last-child {
  border: 0;
}


/****************  轮播图   ******************/
#banner {
  width: 100%;
  /* height: 430px; */
  background-color: aquamarine;
}

#banner img {
  width: 100%;
  display: block;
}

/****************  主体内容   ******************/
#main {
  width: 1102px;
  height: 280px;
  margin: 0 auto;
}

.mainLeft {
  width: 492px;
  height: 250px;
  background-color: lightblue;
  float: left;
}
.mainRight {
  width: 588px;
  height: 250px;
  float: right;
  background-color: aquamarine;
}

.mainLeft h3 {
  font-size: 17px;
  margin-top: 37px;
  font-weight: normal;
  
}

.mainLeft ul {
  margin-top: 23px;
  width: 100%;
  background-color: lightcoral;
  font-size: 12px;
  line-height: 24px;
}

.mainLeft ul li {
  height: 24px;
}

.mainLeft .newsTitle {
  float: left;
  line-height: 24px;
}
.mainLeft .newsTime {
  float: right;
  line-height: 24px;
  margin-right: 10px;
}

